/*
 *  @ProductName@
 *  Copyright (C) @CopyrightYear@
 *    National Institute of Advanced Industrial Science and Technology (AIST)
 *    Registration Number: @AISTRegistrationNumber@
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package jp.go.aist.six.vuln.model.scap.core;




/**
 * Type for a reference in the description of a CPE item.
 * This would normally be used to point to extra descriptive material,
 * or the supplier's web site, or the platform documentation.
 * It consists of a piece of text (intended to be human-readable)
 * and a URI (intended to be a URL, and point to a real resource).
 *
 * @author	Akihito Nakamura, AIST
 * @version $Id: Reference.java 136 2010-05-20 09:50:04Z nakamura5akihito $
 */
public class Reference
{

    private String  _href;
    //{xsd:anyURI, optional}


    private String  _text;
    //{xsd:simpleContent extension base="xsd:textType}



    /**
     * Constructor.
     */
    public Reference()
    {

    }



    /**
     */
    public String getHref()
    {
        return _href;
    }


    /**
     */
    public void setHref(
                    final String href
                    )
    {
        _href = href;
    }



    /**
     */
    public String getText()
    {
        return _text;
    }


    /**
     */
    public void setText(
                    final String text
                    )
    {
        _text = text;
    }

}
// Reference
